try:
    # Short option syntax: "hv:"
    # Long option syntax: "help" or "verbose="
    opts, args = getopt.getopt(sys.argv[1:], "short_options", [long_options])

except getopt.GetoptError, err:
    # Print debug info
    print str(err)
    error_action
if option in ("-h", "--help"):
        

for option, argument in opts:
        elif option in ("-v", "--verbose"):
        verbose = argument
        EnvironmentError for
int 1
with 
try:
    # TODO: write code...
except Exception, e:
    raise e
else:
    # TODO: write code...
finally:
    # TODO: write code...
    quit
    yield
    UnicodeDecodeError
    UnicodeDecodeError
    IOError
    iter
    open
   EnvironmentError 